package com.example.demo.mapper;

import com.example.demo.entity.comment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
@Mapper
@Component
public interface commentMapper {
    //查询评价
    public List<comment> selectcommentByblogid(int id);
    //添加评价
    public void insertcomment(comment comment);
}
